package com.common.constant;

import com.google.gson.Gson;

import java.math.BigDecimal;

/**
 * @author haoya_Coding_one
 * @version 1.0
 * @create 2018/12/21 10:36
 * @description TODO
 */
public class CommonConstant {

    public static Gson gson = new Gson();

    public static final String comma=",";
    public static final String slash = "/";
    public static final String percent = "%";
    public static final String underline = "_";
    public static final String emptyString = "";
    public static final String space = " ";
    public static final String verticalLine = "|";
    public static final String termLine = "-";
    public static final String semicolon = ":";

    public static final BigDecimal bigDecimal_100 = new BigDecimal("100.00").setScale(2);
    public static final BigDecimal bigDecimal_0 = new BigDecimal("0.00").setScale(2);
    public static final BigDecimal bigDecimal_1 = new BigDecimal("1.00").setScale(2, BigDecimal.ROUND_DOWN);

    public static final String charset_utf8 = "UTF-8";

    public static final String asc = "asc";
    public static final String desc = "desc";

    public static final String ipAll = "0.0.0.0";

    public static final String sqlLimitOne = "limit 1";


    /**
     * @Desc: 电池仓每一层单通道编号
     **/
    public static final int [ ][ ]  C_ ={
            {5,9,13,17,21,25},
            {6,10,14,18,22,26},
            {7,11,15,19,23,27},
            {8,12,16,20,24,28},
    };
}
